<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <meta name="format-detection" content="telephone=no" />
    <title>首页弹窗</title>
    <link rel="stylesheet" href="../../css/reset.css">
    <style>
        body {
            font-size: 0.26rem;
            width: 100%;
            height: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .outBox {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
        }

        .newsDetail {
            width: 6.56rem;
            height: 7.34rem;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            background-color: #fff;
            padding: 0 0.47rem;
            box-sizing: border-box;
            border-radius: 0.1rem;
        }

        .newsDetail h1 {
            width: 100%;
            text-align: center;
            font-size: 0.32rem;
            font-family: PingFang SC;
            font-weight: bold;
            color: rgba(38, 38, 38, 1);
            margin: 0.46rem 0 0.2rem 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .newsDetail p {
            width: 100%;
            height: 5rem;
            font-size: 0.24rem;
            font-family: PingFang SC;
            font-weight: 400;
            color: rgba(38, 38, 38, 1);
            line-height: 0.48rem;
            overflow: scroll;
            -webkit-overflow-scrolling: touch;
        }

        .showbutton button {
            width: 5.64rem;
            height: 0.7rem;
            background: rgba(255, 210, 3, 1);
            border-radius: 0.1rem;
            outline: none;
            border: none;
            font-size: 0.26rem;
            font-family: PingFang SC;
            font-weight: 500;
            color: rgba(38, 38, 38, 1);
            margin-bottom: 0.3rem;
            margin-top: 0.1rem;
        }
    </style>
</head>

<body>
    <div class="outBoxs">
        <div class="newsDetail">
            <h1 class="showTetle"></h1>
            <p class="textClass">

            </p>
            <div class="showbutton">
                <button id="setindexNew">我已知晓</button>
            </div>
        </div>
    </div>
    <script src="../../script/autosize.js"></script>
    <script src="../../script/jquery_three_two_one.js"></script>
    <script src="../../script/fastclick.js"></script>
    <script src="../../script/app.js"></script>
    <script>
        apiready = function () {
            var app = new APP();
            var pageText = api.pageParam.constract;
            var thisId = pageText.id;
            $(".textClass").html(pageText.content);
            $(".showTetle").text(pageText.title);
            $("#setindexNew").click(function () {
                var arrStore = JSON.parse(app.getSyncStorage("isRead"));
                arrStore.push(thisId);
                app.setStorage("isRead", JSON.stringify(arrStore));
                app.closeF("index_daliog");
            })
        }

    </script>
</body>

</html>